<?php
// +----------------------------------------------------------------------
// | 平台端菜单设置
// +----------------------------------------------------------------------
return [
    [
        'name' => 'PROMOTION_SUPER_MEMBER',
        'title' => '会员卡',
        'url' => 'supermember://admin/membercard/index',
        'parent' => 'PROMOTION_ROOT',
        'is_show' => 1,
        'is_control' => 1,
        'is_icon' => 0,
        'picture' => '',
        'picture_select' => '',
        'sort' => 100,
        'child_list' => [

            [
                'name' => 'PROMOTION_SUPER_MEMBER_INDEX',
                'title' => '概况',
                'url' => 'supermember://admin/membercard/index',
                'is_show' => 1,
                'is_control' => 1,
                'is_icon' => 0,
                'picture' => '',
                'picture_select' => '',
                'sort' => 1,
            ],
            [
                'name'    => 'PROMOTION_SUPER_MEMBER_LIST',
                'title'   => '会员卡',
                'url'     => 'supermember://admin/membercard/lists',
                'is_show' => 1,
                'child_list' => [
                    [
                        'name'    => 'PROMOTION_SUPER_MEMBER_ADD',
                        'title'   => '会员卡添加',
                        'url'     => 'supermember://admin/membercard/add',
                        'is_show' => 0,
                    ],
                    [
                        'name'    => 'PROMOTION_SUPER_MEMBER_EDIT',
                        'title'   => '会员卡编辑',
                        'url'     => 'supermember://admin/membercard/edit',
                        'is_show' => 0,
                    ],
                    [
                        'name'    => 'PROMOTION_SUPER_MEMBER_DELETE',
                        'title'   => '会员卡删除',
                        'url'     => 'supermember://admin/membercard/delete',
                        'is_show' => 0,
                    ],
                    [
                        'name'    => 'PROMOTION_SUPER_MEMBER_STATUS',
                        'title'   => '会员卡状态变更',
                        'url'     => 'supermember://admin/membercard/status',
                        'is_show' => 0,
                    ],
                    [
                        'name'    => 'PROMOTION_SUPER_MEMBER_RECOMMEND',
                        'title'   => '会员卡推荐',
                        'url'     => 'supermember://admin/membercard/recommend',
                        'is_show' => 0,
                    ]
                ]
            ],
            [
                'name'    => 'PROMOTION_SUPER_MEMBER_AGREEMENT',
                'title'   => '开卡协议',
                'url'     => 'supermember://admin/membercard/agreement',
                'is_show' => 1,
            ],
            [
                'name'    => 'PROMOTION_SUPER_MEMBER_ORDER',
                'title'   => '会员卡订单',
                'url'     => 'supermember://admin/membercard/order',
                'is_show' => 1,
                'child_list' => [
                    [
                        'name'    => 'PROMOTION_SUPER_MEMBER_ORDER_DETAIL',
                        'title'   => '订单详情',
                        'url'     => 'supermember://admin/membercard/orderdetail',
                        'is_show' => 0
                    ]
                ]
            ]
        ]
    ],
];
